/*
 * Copyright (c) 2008-2014 浩瀚深度 All Rights Reserved.
 *
 * FileName: DataCmdConstant.java
 *
 * Description：
 *
 * History:
 * v1.0.0, zmw, 2014年4月9日, Create
 */
package com.monitor.config;

/**
 * 常用特征标记字符串
 *
 * @author zmw
 * @version 0.9.0
 * @since 0.9.0
 */
public class DataCmdConstant {
    /**
     * 换行回车符
     */
    public static final String TOKEN_LINEFEES_RETURN = "\r\n";
    /**
     * 告警输出的换行回车符
     */
    public static final String TOKEN_LINEFEES_ALARMRETURN = "\n";
    /**
     * 数据项目之间的分隔符
     */
    public static final String TOKEN_SEPARATOR_DATAITEM = ",";
    /**
     * 运行日志数据的分隔符
     */
    public static final String TOKEN_SEPARATOR_RUNLOG = "\t";
    /**
     * 子数据项目之间的分隔符
     */
    public static final String TOKEN_SEPARATOR_SUBDATA = ";";
    /**
     * 子数据项目之间的分隔符
     */
    public static final String TOKEN_SEPARATOR_SPACE = " ";
    /**
     * TOPN IP和掩码位数数据项目之间的分隔符
     */
    public static final String TOKEN_SEPARATOR_TOPN_DATAITEM = "/";
    /**
     * 返回命令标记头
     */
    public static final String PKTKEY_CMD_BEGIN = "Begin";
    /**
     * 返回命令标记尾
     */
    public static final String PKTKEY_CMD_END = "End";
    /**
     * 握手标识
     */
    public static final String PKTKEY_CMD_HELLO = "hello";
    /**
     * 保活标识
     */
    public static final String PKTKEY_CMD_KEEPALIVE = "keepAliveInfo";
    /**
     * 应答标识
     */
    public static final String PKTKEY_CMD_RESPONSE = "Response";
    /**
     * 子项标识
     */
    public static final String PKTKEY_CMD_ITEMS = "items=";
    /**
     * 采集标识
     */
    public static final String PKTKEY_CMD_GET_READERINFO = "getReaderInfo";
    /**
     * 累积字节数
     */
    public static final int DATA_UNIT_BYTES_CUMU = 0;
    /**
     * 每秒平均bps
     */
    public static final int DATA_UNIT_BPS_1S = 1;
    /**
     * 每分钟平均bps
     */
    public static final int DATA_UNIT_BPS_1M = 2;
    /**
     * 每5分钟平均bps
     */
    public static final int DATA_UNIT_BPS_5M = 3;
}
